package com.bzgwl.authentication;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author Professor_Kong
 * @version 1.0
 * @date 2020/2/28 14:59
 */
public class test {


    public static void main(String[] args) {
        String encode = new BCryptPasswordEncoder().encode("secret");
        //$2a$10$SO86pS06CeM5TAiCUzxNg.EtQ4T5rJJOEHEIGqtcK0I15L.JcZeSS
        System.out.println(encode);
    }
}
